﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, GeneratedCode("svcutil", "3.0.4506.2152"), DesignerCategory("code"), XmlType(Namespace="http://www.onvif.org/ver10/schema"), DebuggerStepThrough]
    public class VideoAttributes
    {
        private XmlAttribute[] anyAttrField;
        private XmlElement[] anyField;
        private int bitrateField;
        private bool bitrateFieldSpecified;
        private VideoEncoding encodingField;
        private float framerateField;
        private int heightField;
        private int widthField;

        [XmlAnyElement(Order=5)]
        public XmlElement[] Any
        {
            get
            {
                return this.anyField;
            }
            set
            {
                this.anyField = value;
            }
        }

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        [XmlElement(Order=0)]
        public int Bitrate
        {
            get
            {
                return this.bitrateField;
            }
            set
            {
                this.bitrateField = value;
            }
        }

        [XmlIgnore]
        public bool BitrateSpecified
        {
            get
            {
                return this.bitrateFieldSpecified;
            }
            set
            {
                this.bitrateFieldSpecified = value;
            }
        }

        [XmlElement(Order=3)]
        public VideoEncoding Encoding
        {
            get
            {
                return this.encodingField;
            }
            set
            {
                this.encodingField = value;
            }
        }

        [XmlElement(Order=4)]
        public float Framerate
        {
            get
            {
                return this.framerateField;
            }
            set
            {
                this.framerateField = value;
            }
        }

        [XmlElement(Order=2)]
        public int Height
        {
            get
            {
                return this.heightField;
            }
            set
            {
                this.heightField = value;
            }
        }

        [XmlElement(Order=1)]
        public int Width
        {
            get
            {
                return this.widthField;
            }
            set
            {
                this.widthField = value;
            }
        }
    }
}

